﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:UserControls="clr-namespace:JuCloudy.Platform.UserControls;assembly=JuCloudy.Platform.UserControls" x:Class="JuCloudy.Sys.App.AppInfo.controls.DiaryEditor"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" Padding="2,0,0,0">

    <Grid x:Name="LayoutRoot" Background="White">
        <Grid Margin="0,0,0,64">
            <Grid.ColumnDefinitions>
                <ColumnDefinition/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>

            <StackPanel Grid.Column="0" VerticalAlignment="Top" Height="30" Orientation="Horizontal">
                <HyperlinkButton x:Name="btn_addtitle" Content="新增标题" FontSize="14" VerticalAlignment="Center"/>
                <HyperlinkButton x:Name="btn_deletetitile" Content="删除标题" FontSize="14" VerticalAlignment="Center" Margin="5,0,0,0"/>
            </StackPanel>
            <StackPanel Grid.Column="1" VerticalAlignment="Top" Height="30" Orientation="Horizontal">
                <HyperlinkButton x:Name="btn_addcontent" Content="新增内容" FontSize="14" VerticalAlignment="Center"/>
                <HyperlinkButton x:Name="btn_deletecontent" Content="删除内容" FontSize="14" VerticalAlignment="Center" Margin="5,0,0,0"/>
            </StackPanel>

            <UserControls:jListBox x:Name="_titles" Grid.Column="0" Margin="0,30,2,4">
            </UserControls:jListBox>
            <UserControls:jListBox x:Name="contents"  Grid.Column="1"  Margin="2,30,0,4"/>
        </Grid>
        <Grid VerticalAlignment="Bottom" Height="64" Background="#FFF7F8FA">
            <Rectangle VerticalAlignment="Top" Height="1" Fill="#FFDBE7EF"/>
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,15,0">
                <UserControls:jButton x:Name="btn_cancel" Content="取消" Width="75" Height="34" Margin="0,0,15,0" FontSize="14"/>
                <UserControls:jButton x:Name="btn_submit" Content="提交" Width="75" Height="34" Margin="0,0,15,0" FontSize="14" Background="#FF339933" BorderBrush="#FF339933"/>
            </StackPanel>
        </Grid>
    </Grid>
</UserControl>
